import request from '@/utils/request'

// 获取员工基本信息 /sys/user/simple
// export function getUserSimpleRequest() {
//   return request({
//     url: '/sys/user/simple',
//     method: 'GET'
//   })
// }
// 获取员工基本信息
export const getUserSimpleRequest = () => request.get('/sys/user/simple')
// 获取角色列表信息
export const getRolesListRequest = params => request.get('/sys/user', { params })
// 添加员工基本信息
export const addEmployeesRequest = data => request.post('/sys/user', data)
// 删除员工基本信息
export const delEmployeesRequest = id => request.delete(`/sys/user/${id}`)
export const importUserRequest = data => request.post(`/sys/user/batch`, data)
